package com.xuhuan.practice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xuhuan.practice.entity.Article;
import java.util.List;

/**
 * @author: huan.xu
 * @create: 2024/6/11 22:01
 * @description: 文章管理mapper
 **/
public interface ArticleMapper extends BaseMapper<Article> {

  /**
   * 列表查询
   *
   * @param currentUserId
   * @param categoryId
   * @param state
   * @return
   */
  List<Article> list(Integer currentUserId, Integer categoryId, String state);
}
